package com.hyzh.latte.sand.socket;

import com.coffee.socketio.handler.SocketioUserValidHandler;
import com.corundumstudio.socketio.SocketIOClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author: songkui
 * @since: 2024/3/21 0:14
 */
@Service
@Slf4j
public class   SandSocketUserValidHandler implements SocketioUserValidHandler {
    //true 无效用户；  false 表示有效
    @Override
    public boolean verifyInvalid(SocketIOClient client) {
        log.info("--------verifyInvalid-uid-{}----", client.getSessionId());
        return false;
    }
}
